
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using bjeschool_csharp.Model;

namespace bjeschool
{
	public partial class MessageListCell : CommonCell<M_Message>
	{
		public MessageListCell () //: base ("MessageListCell", null)
		{
			NSBundle.MainBundle.LoadNib("MessageListCell", this, null);
		}
		
		public override void SetData (M_Message item)
		{
			
			Content.Text = item.Content;
			LeaveUser.Text = item.LeaveUser;
			CreateTime.Text = item.CreateTime.ToLongTimeString();
			
		}
		
		[Outlet("CellView")]
		public override UITableViewCell CellView { get; set; }
		[Outlet("Content")]
		public UILabel Content { get; set; }
		[Outlet("LeaveUser")]
		public UILabel LeaveUser {get;set;}
		[Outlet("CreateTime")]
		public UILabel CreateTime {get;set;}
	}
}

